using System;
using XNgine.ConsoleComponent.Exceptions;

namespace XNgine.DebugConsole
{
    internal class CommandNotRegisteredException : ConsoleException
    {
        private const string format = "Command '{0}' is not registered in CommandRegister!'";

        public CommandNotRegisteredException(string command)
            : base(String.Format(format, command)) { }
    }
}